
GIT_HASH=$(git rev-parse --short HEAD)

echo "Building smartpot-cloud:$GIT_HASH"

# ccr.ccs.tencentyun.com/smartpot-default/smartpot-cloud
podman buildx build --platform linux/amd64 -t ccr.ccs.tencentyun.com/smartpot-default/smartpot-cloud:$GIT_HASH -f Dockerfile .
podman push ccr.ccs.tencentyun.com/smartpot-default/smartpot-cloud:$GIT_HASH

